﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/MatchEndControlsUI.ui
*/



@UIBind('UI/MatchEndControlsUI.ui')
export default class MatchEndControlsUI_Generate extends UIScript {
		private recoverButton_Internal: mw.Button
	public get recoverButton(): mw.Button {
		if(!this.recoverButton_Internal&&this.uiWidgetBase) {
			this.recoverButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/recoverButton') as mw.Button
		}
		return this.recoverButton_Internal
	}
	private expandButton_Internal: mw.Button
	public get expandButton(): mw.Button {
		if(!this.expandButton_Internal&&this.uiWidgetBase) {
			this.expandButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/expandButton') as mw.Button
		}
		return this.expandButton_Internal
	}
	private mCanvas_BtnGroup_Internal: mw.Canvas
	public get mCanvas_BtnGroup(): mw.Canvas {
		if(!this.mCanvas_BtnGroup_Internal&&this.uiWidgetBase) {
			this.mCanvas_BtnGroup_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/mCanvas_BtnGroup') as mw.Canvas
		}
		return this.mCanvas_BtnGroup_Internal
	}
	private bgImage_Internal: mw.Image
	public get bgImage(): mw.Image {
		if(!this.bgImage_Internal&&this.uiWidgetBase) {
			this.bgImage_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/mCanvas_BtnGroup/bgImage') as mw.Image
		}
		return this.bgImage_Internal
	}
	private tieButton_Internal: mw.StaleButton
	public get tieButton(): mw.StaleButton {
		if(!this.tieButton_Internal&&this.uiWidgetBase) {
			this.tieButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/mCanvas_BtnGroup/bgImage/tieButton') as mw.StaleButton
		}
		return this.tieButton_Internal
	}
	private giveUpButton_Internal: mw.StaleButton
	public get giveUpButton(): mw.StaleButton {
		if(!this.giveUpButton_Internal&&this.uiWidgetBase) {
			this.giveUpButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/mCanvas_BtnGroup/bgImage/giveUpButton') as mw.StaleButton
		}
		return this.giveUpButton_Internal
	}
	private runAwayButton_Internal: mw.StaleButton
	public get runAwayButton(): mw.StaleButton {
		if(!this.runAwayButton_Internal&&this.uiWidgetBase) {
			this.runAwayButton_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/mCanvas_BtnGroup/bgImage/runAwayButton') as mw.StaleButton
		}
		return this.runAwayButton_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 